package myPackage.Child;

import myPackage.parent.SuperClass;

public class SubClass extends SuperClass
{
	public void printIt()
	{
		// System.out.println(A);  // can't access as A is private
		System.out.println("1: "+X);
		System.out.println("2: "+Y);
		//System.out.println(Z); //  can't access as Z is private
		
	}
	public static void main(String arg[])
	{
		SubClass obj = new SubClass();
		
		System.out.println("3: "+obj.X);
		System.out.println("4: "+obj.Y);
		
		obj.printIt();
		obj.printX();
		obj.printY();
		
		
	}
	

	
	
	
}
